<extend name="Index/index" />

<block name="main">

	<div class="row">
		<div class="col-md-12">
			<form action="<{:U('friend/save')}>" method='post' enctype="multipart/form-data" class="form-horizontal">

				<div class="form-group" style="">
					<label for="" class="col-sm-2 control-label">友情链接名称 ：</label>
					<div class="col-sm-4">
						<input type="text" name="name" class="form-control" placeholder="请输入影院名" value="<{$list['name']}>">
					</div>
				</div>
				<div class="form-group">
					<label for="" class="col-sm-2 control-label">友情链接地址 : </label>
					<div class="col-sm-4">
						<input  type="text" name="address" class="form-control" placeholder="请输入地址" value="<{$list['link']}>">
					</div>
				</div>

				<div class="form-group">
					<div class="col-sm-4 col-sm-offset-2">
						<input type="radio" name="status" value="1" <if condition="$vo.status eq 1">checked</if>>未营业
						<input type="radio" name="status" value="0" <if condition="$vo.status eq 0">checked</if>>营业中
					</div>
				</div>
				
				<div class="form-group">
				    <div class="col-sm-offset-2 col-sm-4">
				      <input type="hidden" name="id" value="<{$list.id}>">

				      <button type="submit" class="btn btn-default">保 存</button>
				    </div>
				</div>
		
			</form>
		</div>
	</div>
</block>